package com.chx.ajxtest.mapper;

import com.chx.ajxtest.bean.Travel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TravelMapper {

    public List<Travel> queryAll(@Param("id") Integer id) throws Exception;

    public void deleteById(Integer id) throws Exception;

    public void add(Travel travel)throws Exception;

    public void update(Travel travel)throws Exception;
}
